use crate::controller::index_controller as index;
use actix_web::web::ServiceConfig;

pub(crate) fn index_routers(service_config: &mut ServiceConfig) {
    service_config.service(
        actix_web::web::scope("/admin/index")
            .service(index::push_reg_code)
            .service(index::login)
            .service(index::logout)
            .service(index::reset_password)
    );
}
